package com.ys.web.pojo;

import java.util.Date;

import javax.persistence.Id;

public class VisitAccessKeywordDay {

	@Id
	protected Long id;
	
	/**
	 * 网站ID
	 */
	protected String siteId;

	/**
	 * 用户ID
	 */
	protected String userId;
	
	/**
	 * 点击次数
	 */
	protected Long clickNum;
	
	//点击率
	protected double clickRate;

	/**
	 * 咨询次数
	 */
	protected Long consultNum;
	
	/**
	 * 每个网站的平均点击价格
	 */
	protected Double avgPrice;
	
	/**
	 * 网站id
	 */
	protected Long idsite;
	
	/**
     * 最后一次动作记录时间 
     */
	protected Long lastActionId;
	
	/**
	 * 最后一次访问记录时间
	 */
	protected Long lastVisitId;
	
	/**
	 * 上次统计时间
	 */
	protected Date lastCountTime;
	
	/**
	 * 访问人次
	 */
	protected Long visits;

    /**
     * 访问者数
     */
	protected Long visitors;	

	/**
	 * 消费
	 */
	protected Double consume;
	
	/**
	 * 咨询价格
	 */
	protected Double consultPrice;
	
	//排名
	protected Double consultRank;
	
	/**
	 * 咨询人次
	 */
	protected Long consultVisits;
	
	/**
	 * 咨询人数
	 */
	protected Long consultVisitors;
	
	/**
	 *  渠道id
	 */
	protected String channelId;
	
	/**
	 *  统计日期
	 */
	private Date countTime;
	
	/**
	 *  关键字
	 */
	private String keyword;
	//转化率
	private float conversionRate;
	//转化成本
	private float conversionCost;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getSiteId() {
		return siteId;
	}
	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Long getClickNum() {
		return clickNum;
	}
	public void setClickNum(Long clickNum) {
		this.clickNum = clickNum;
	}
	public Long getConsultNum() {
		return consultNum;
	}
	public void setConsultNum(Long consultNum) {
		this.consultNum = consultNum;
	}
	public Double getAvgPrice() {
		return avgPrice;
	}
	public void setAvgPrice(Double avgPrice) {
		this.avgPrice = avgPrice;
	}
	public Long getIdsite() {
		return idsite;
	}
	public void setIdsite(Long idsite) {
		this.idsite = idsite;
	}
	public Long getLastActionId() {
		return lastActionId;
	}
	public void setLastActionId(Long lastActionId) {
		this.lastActionId = lastActionId;
	}
	public Long getLastVisitId() {
		return lastVisitId;
	}
	public void setLastVisitId(Long lastVisitId) {
		this.lastVisitId = lastVisitId;
	}
	public Date getLastCountTime() {
		return lastCountTime;
	}
	public void setLastCountTime(Date lastCountTime) {
		this.lastCountTime = lastCountTime;
	}
	public Long getVisits() {
		return visits;
	}
	public void setVisits(Long visits) {
		this.visits = visits;
	}
	public Long getVisitors() {
		return visitors;
	}
	public void setVisitors(Long visitors) {
		this.visitors = visitors;
	}
	public Double getConsume() {
		return consume;
	}
	public void setConsume(Double consume) {
		this.consume = consume;
	}
	public Double getConsultPrice() {
		return consultPrice;
	}
	public void setConsultPrice(Double consultPrice) {
		this.consultPrice = consultPrice;
	}
	public Long getConsultVisits() {
		return consultVisits;
	}
	public void setConsultVisits(Long consultVisits) {
		this.consultVisits = consultVisits;
	}
	public Long getConsultVisitors() {
		return consultVisitors;
	}
	public void setConsultVisitors(Long consultVisitors) {
		this.consultVisitors = consultVisitors;
	}
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	public Date getCountTime() {
		return countTime;
	}
	public void setCountTime(Date countTime) {
		this.countTime = countTime;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public float getConversionRate() {
		return conversionRate;
	}
	public void setConversionRate(float conversionRate) {
		this.conversionRate = conversionRate;
	}
	public float getConversionCost() {
		return conversionCost;
	}
	public void setConversionCost(float conversionCost) {
		this.conversionCost = conversionCost;
	}
	public double getClickRate() {
		return clickRate;
	}
	public void setClickRate(double clickRate) {
		this.clickRate = clickRate;
	}
	public Double getConsultRank() {
		return consultRank;
	}
	public void setConsultRank(Double consultRank) {
		this.consultRank = consultRank;
	}

	
	
}
